package com.sxg.convert;

import com.sxg.entity.SxgGoodsInfoEntity;
import com.sxg.vo.SxgGoodsInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 商品信息
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgGoodsInfoConvert {
    SxgGoodsInfoConvert INSTANCE = Mappers.getMapper(SxgGoodsInfoConvert.class);

    SxgGoodsInfoEntity convert(SxgGoodsInfoVO vo);

    SxgGoodsInfoVO convert(SxgGoodsInfoEntity entity);

    List<SxgGoodsInfoVO> convertList(List<SxgGoodsInfoEntity> list);

}